package cn.minhx.lab.design_patterns.adapter.f2.interfaces;

public class Test {

    public static void main(String[] args) {

        OrderAdapterService insideOrderAdapter = new InsideOrderAdapter();
        System.out.println("判断首单，接口适配(自营)：" + insideOrderAdapter.isFirst("100001"));

        OrderAdapterService jdOrderAdapter = new JdOrderAdapter();
        System.out.println("判断首单，接口适配(JD)：" + jdOrderAdapter.isFirst("100001"));

    }

}
